import React,{ useState } from 'react'
export default function App() {
  // 数组的解构
  let [count,setCount]=useState(0)
  let [uname,setUname]=useState('tom')
  return (
    <div>
      <button onClick={()=>{setCount(count+1)}}>当前已经点击了{count}次</button>
    </div>
  )
}
